package com.netty.httpserver;

public class MyServlet implements AllServlet {

	@Override
	public void get(HttpServletRequest request, HttpServletResponse response) {

	}

	@Override
	public void post(HttpServletRequest request, HttpServletResponse response) {
			String name = request.getParameter("name");
			System.out.println("name = "+name);
			response.write("<html> <h1>name = "+name+"</h1> </html>");
	}

}
